/**
 * 2017年11月9日
 */
package com.alibaba.study.dynamicproxy.simple;

import com.alibaba.study.dynamicproxy.Hello;

/**
 * @author Alex
 *
 */
public class StaticProxy implements Hello {
	Hello h;
	public StaticProxy(Hello handler) {
		h = handler;
	}
	@Override
	public String sayHello(String name) {
		System.out.println("before say hello");
		String res = h.sayHello(name);
		return res;
	}

}
